﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ecreate.Model
{
    public class LuckInfo
    {
        private string id;
        private string luck_name = String.Empty;
        private string luck_tel = String.Empty;
        private DateTime luck_date;
        private decimal luck_money;

        // Instantiate empty CompanyNews for inserting
        public LuckInfo() { }

        // Retrieve CompanyNews with Id for updating
        public LuckInfo(string id)
        {
            this.id = id;
        }

        #region Public Properties

        public string ID
        {
            get { return id; }
            set { id = value; }
        }

        public string LuckName
        {
            get { return luck_name; }
            set { luck_name = value; }
        }

        public string LuckTel
        {
            get { return luck_tel; }
            set { luck_tel = value; }
        }

        public DateTime LuckDate
        {
            get { return luck_date; }
            set { luck_date = value; }
        }

        public decimal LuckMoney
        {
            get { return luck_money; }
            set { luck_money = value; }
        }

        #endregion
    }
}
